package com.evl.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * ΢
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-14
 */
@TableName("wxchat_user")
public class WxchatUser extends Model<WxchatUser> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Integer id;
	@TableField("nick_name")
	private String nickName;
    /**
     * ͷ
     */
	@TableField("avatar_url")
	private String avatarUrl;
	private String gender;
    /**
     * ʡ
     */
	private String province;
	private String city;
	private String country;
	@TableField("create_time")
	private Date createTime;
	@TableField("opend_id")
	private String opendId;
	@TableField("union_id")
	private String unionId;
	@TableField("user_type")
	private String userType;
	private String tips;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getOpendId() {
		return opendId;
	}

	public void setOpendId(String opendId) {
		this.opendId = opendId;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

}
